package com.oxymore.jbnetapi.wow.item;

public class ItemSpell {

    private int spellId;
    private Spell spell;
    private int nCharges;
    private boolean consumable;
    private int categoryId;

    public int getSpellId() {
        return spellId;
    }

    public void setSpellId(int spellId) {
        this.spellId = spellId;
    }

    public Spell getSpell() {
        return spell;
    }

    public void setSpell(Spell spell) {
        this.spell = spell;
    }

    public int getnCharges() {
        return nCharges;
    }

    public void setnCharges(int nCharges) {
        this.nCharges = nCharges;
    }

    public boolean isConsumable() {
        return consumable;
    }

    public void setConsumable(boolean consumable) {
        this.consumable = consumable;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    @Override
    public String toString() {
        return "ItemSpell [spellId=" + spellId + ", spell=" + spell
                + ", nCharges=" + nCharges + ", consumable=" + consumable
                + ", categoryId=" + categoryId + "]";
    }
}
